From: Juanma Barranquero Date: Fri, 8 Jun 2007 20:07:10 +0000 (+0000) Subject: (Fx_get_atom_name): Use empty_unibyte_string. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18517 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dc73cf1a326f4916ba168b7a8169537bef827936;p=emacs.git (Fx_get_atom_name): Use empty_unibyte_string. --- diff --git a/src/xselect.c b/src/xselect.c index 3fe109a5b85..17dc7c0e7d3 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -2678,7 +2678,7 @@ If the value is 0 or the atom is not known, return the empty string. */) ret = make_string (name, strlen (name)); if (atom && name) XFree (name); - if (NILP (ret)) ret = make_string ("", 0); + if (NILP (ret)) ret = empty_unibyte_string; UNBLOCK_INPUT;